메인 콘텐츠로 건너뛰기
PATCH
/
campaigns
Update a campaign
curl --request PATCH \
  --url https://your_a2_service/campaigns \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "bid_strategy": "highest_volume",
  "end_date": "2023-11-07T05:31:56Z",
  "goal": "click",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "start_date": "2023-11-07T05:31:56Z",
  "status": "okay",
  "audience_segments": {},
  "budget": 0,
  "created_at": "2023-11-07T05:31:56Z",
  "crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "daily_budget": 123,
  "description": "<string>",
  "max_bid": 0,
  "min_daily_imp": 1000,
  "sub_goal": "<string>",
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "target_cpa": 0,
  "target_cpm": 0,
  "target_volume": 0,
  "updated_at": "2023-11-07T05:31:56Z"
}
'
{
  "bid_strategy": "highest_volume",
  "end_date": "<string>",
  "goal": "click",
  "name": "<string>",
  "no": 123,
  "owner_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "start_date": "<string>",
  "status": "okay",
  "audience_segments": {},
  "budget": 0,
  "created_at": "2023-11-07T05:31:56Z",
  "crid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "daily_budget": 123,
  "description": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "max_bid": 0,
  "min_daily_imp": 1000,
  "sub_goal": "<string>",
  "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "target_cpa": 0,
  "target_cpm": 0,
  "target_volume": 0,
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.aiderx.io/llms.txt

Use this file to discover all available pages before exploring further.

인증

Authorization
string
header
필수

The access token received from the authorization server in the OAuth 2.0 flow.

본문

application/json

캠페인 정보 변경을 위한 스키마

bid_strategy
enum<string>
필수
지원 중단

캠페인을 위한 입찰 전략

사용 가능한 옵션:
highest_volume,
bid_cap
end_date
string<date-time>
필수

캠페인의 종료 일시 (UTC 시간 사용 권장)

goal
enum<string>
필수

캠페인 목표

사용 가능한 옵션:
click,
reach,
impression,
conversion
id
string<uuid>
필수
name
string
필수

캠페인 이름

owner_id
string<uuid>
필수

캠페인의 소유자 id

start_date
string<date-time>
필수

캠페인의 시작 일시 (UTC 시간 사용 권장)

status
enum<string>
필수

캠페인 상태 정보

사용 가능한 옵션:
okay,
preparing,
ready,
archived
audience_segments
Audience Segments · object

타켓팅을 위한 오디언스 세그먼트 목록

budget
number
기본값:0

캠페인의 총 예산

created_at
string<date-time> | null

생성 일시

crid
string<uuid> | null
지원 중단
daily_budget
number | null
지원 중단
description
string | null

소재 설명

max_bid
number
기본값:0

최대 입찰가 (입찰 전략을 maximize_volume으로 설정한 경우에만 유효함)

필수 범위: x >= 0
min_daily_imp
number
기본값:1000

내부 사용 목적

필수 범위: x >= 1000
sub_goal
string | null

캠페인 세부 목표

tagid
string<uuid> | null
지원 중단
target_cpa
number
기본값:0

결과당 목표 비용

필수 범위: x >= 0
target_cpm
number
기본값:0

1000번 노출당 지출하기 윈하는 희망가 (세부목표를 target_cpm으로 설정한 경우에만 유효함)

필수 범위: x >= 0
target_volume
number
기본값:0

캠페인 기간 내에 보장받을 노출수 (세부목표를 target_volume으로 설정한 경우에만 유효함)

필수 범위: x >= 0
updated_at
string<date-time> | null

변경 일시

응답

Successful Response

캠페인의 모든 속성을 정의한 스키마

bid_strategy
enum<string>
필수
지원 중단

캠페인을 위한 입찰 전략

사용 가능한 옵션:
highest_volume,
bid_cap
end_date
string
필수

캠페인의 종료 일시 (UTC 시간 사용 권장)

goal
enum<string>
필수

캠페인 목표

사용 가능한 옵션:
click,
reach,
impression,
conversion
name
string
필수

캠페인 이름

no
integer
필수
owner_id
string<uuid>
필수

캠페인의 소유자 id

start_date
string
필수

캠페인의 시작 일시 (UTC 시간 사용 권장)

status
enum<string>
필수

캠페인 상태 정보

사용 가능한 옵션:
okay,
preparing,
ready,
archived
audience_segments
Audience Segments · object

타겟팅을 위한 오디언스 세그먼트 목록

budget
number
기본값:0

캠페인의 총 예산

created_at
string<date-time> | null

생성 일시

crid
string<uuid> | null
지원 중단
daily_budget
number | null
지원 중단
description
string | null

캠페인의 설명

id
string<uuid>

캠페인의 id

max_bid
number
기본값:0

최대 입찰가 (입찰 전략을 maximize_volume으로 설정한 경우에만 유효함)

필수 범위: x >= 0
min_daily_imp
number
기본값:1000

내부 사용 목적

필수 범위: x >= 1000
sub_goal
string | null

캠페인 세부 목표

tagid
string<uuid> | null
지원 중단
target_cpa
number
기본값:0

결과당 목표 비용

필수 범위: x >= 0
target_cpm
number
기본값:0

1000번 노출당 지출하기 윈하는 희망가 (세부목표를 target_cpm으로 설정한 경우에만 유효함)

필수 범위: x >= 0
target_volume
number
기본값:0

캠페인 기간 내에 보장받을 노출수 (세부목표를 target_volume으로 설정한 경우에만 유효함)

필수 범위: x >= 0
updated_at
string<date-time> | null

변경 일시